package com.ygt.conf;

/**
 * @Author ygt
 * @Date 2022/11/8 19:19
 * @Version 1.0
 *
 * 获取类的信息
 */
public class ServletConfig {

    private String urlMapping; //url
    private String classPath; //类的全路径名


    public ServletConfig(String urlMapping,String classPath){
        this.urlMapping = urlMapping;
        this.classPath = classPath;
    }

    public String getUrlMapping() {
        return urlMapping;
    }

    public void setUrlMapping(String urlMapping) {
        this.urlMapping = urlMapping;
    }

    public String getClassPath() {
        return classPath;
    }

    public void setClassPath(String classPath) {
        this.classPath = classPath;
    }

    @Override
    public String toString() {
        return "ServletConfig{" +
                "urlMapping='" + urlMapping + '\'' +
                ", classPath='" + classPath + '\'' +
                '}';
    }
}
